package com.zuipin.entity;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 购物车规则使用日志
 * 
 * @ClassName: RuleSetUseLog
 * @author wuyicheng 
 * @time 2017年4月18日下午4:43:18 
 **/
@SuppressWarnings("serial")
public class RuleSetUseLog implements Serializable {
	
	private Long				id;						//
	
	private Long				memberId;				// 会员ID
	
	private Long				sysId;					// 系统ID
	
	private Long				ruleSetId;				// 规则ID
	
	private Long				orderId;				// 订单ID
	
	private String				showName;				// 购物车规则名称
	
	private String				showType;				// ORDER_DISCOUNT:订单打折券,SINGLE_PRO_DISCOUNT:单品打折券,FREE_POSTAGE:免邮券,CASH:现金券,DELIVERY_NOTE:提货券,FULL_CAT:满品类总额免邮,FULL_TEA_SET:满茶具总额免邮,FULL_TEA_LEAF:满茶叶总额免邮,FULL_PRO:满商品总额免邮,FULL_CAT_SELF:满品类总额免邮(自营),FULL_TEA_SET_SELF:满茶具总额免邮(自营),FULL_TEA_LEAF_SELF:满茶叶总额免邮(自营),FULL_PRO_SELF:满商品总额免邮(自营),SUB_AMOUNT:减金额,GIVE_INTEGRAL:送积分,GIVE_BACK_BALANCE:送返现余额,GIVE_TOPUP_BALANCE:送充值余额,GIVE_RED_PACKET:送红包,GIVE_PRO:送商品,GIVE_DRAW_NUM:送抽奖次数,CON_SIGN:连续签到,REG:注册,LOGIN:登录,MEMBER_UPGRADE:会员升级,SINGLE_TOPUP:单笔充值,ADDUP_TOPUP:累计充值,SPECIAL_PRICE:特价
	
	private String				giveTimeDot;			// 赠送时间点,PAY_SUCCESS:付款成功(货到付款审核通过),PAY_SUCCESS_NH:付款成功(货到付款不参与),ORDER_COMPLETE:订单完成
	
	private Short				isGiving;				// // 是否已赠送 1已赠送,0未赠送 2,已回收
	
	private BigDecimal			giveNum;				// 赠送数量（金额或数量）
	
	private String				giveRuleSetIds;			// 赠送规则ids
	
	private Short				delFlag;				// 删除标志:1是删除，0是未删除
	
	private Long				createId;				// 创建者
	
	private String				createTime;				// 创建时间
	
	private Long				updateId;				// 更新者
	
	private String				updateTime;				// 更新时间
	
	private String				proSku;					// 符合规则商品
	
	/*
	 * 是否已赠送 1已赠送,0未赠送
	 */
	public static final short	IS_GIVING_YES_1		= 1;
	public static final short	IS_GIVING_NO_0		= 0;
	public static final short	IS_RECOVERY_YES_2	= 2;// 已回收
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getId() {
		return this.id;
	}
	
	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}
	
	public Long getMemberId() {
		return this.memberId;
	}
	
	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}
	
	public Long getSysId() {
		return this.sysId;
	}
	
	public void setRuleSetId(Long ruleSetId) {
		this.ruleSetId = ruleSetId;
	}
	
	public Long getRuleSetId() {
		return this.ruleSetId;
	}
	
	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}
	
	public Long getOrderId() {
		return this.orderId;
	}
	
	public void setShowName(String showName) {
		this.showName = showName;
	}
	
	public String getShowName() {
		return this.showName;
	}
	
	public void setShowType(String showType) {
		this.showType = showType;
	}
	
	public String getShowType() {
		return this.showType;
	}
	
	public void setGiveTimeDot(String giveTimeDot) {
		this.giveTimeDot = giveTimeDot;
	}
	
	public String getGiveTimeDot() {
		return this.giveTimeDot;
	}
	
	public void setIsGiving(Short isGiving) {
		this.isGiving = isGiving;
	}
	
	public Short getIsGiving() {
		return this.isGiving;
	}
	
	public void setGiveNum(BigDecimal giveNum) {
		this.giveNum = giveNum;
	}
	
	public BigDecimal getGiveNum() {
		return this.giveNum;
	}
	
	public void setGiveRuleSetIds(String giveRuleSetIds) {
		this.giveRuleSetIds = giveRuleSetIds;
	}
	
	public String getGiveRuleSetIds() {
		return this.giveRuleSetIds;
	}
	
	public void setDelFlag(Short delFlag) {
		this.delFlag = delFlag;
	}
	
	public Short getDelFlag() {
		return this.delFlag;
	}
	
	public void setCreateId(Long createId) {
		this.createId = createId;
	}
	
	public Long getCreateId() {
		return this.createId;
	}
	
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	
	public String getCreateTime() {
		return this.createTime;
	}
	
	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}
	
	public Long getUpdateId() {
		return this.updateId;
	}
	
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	
	public String getUpdateTime() {
		return this.updateTime;
	}
	
	public String getProSku() {
		return proSku;
	}
	
	public void setProSku(String proSku) {
		this.proSku = proSku;
	}
	
}
